@extends('lay.layout')
@section('content')
    <div class="product-detail width">
        <div class="photos productPhotos">
            <div class="cover">
                <a href="{{$data->goodslink}}"><img src="{{all_image_url(json_decode($data->coverimage)->main)}}"
                                                    class="bigPhoto" width="370" height="370" alt="cover"></a>
            </div>
            <div class="thumb">
                @foreach(image_judst($data->coverimage) as $kk  =>$vv)
                    <img src="{{$vv}}" data-big="{{$vv}}" width="85" height="85" alt="thmub">
                @endforeach
            </div>
        </div>
        <div class="main">
            <div class="content">
                <div class="juhuasuan"><img src="/assets/images/juhuasuan.png" alt="聚划算" width="100%"></div>
                <div class="title">
                    <div>
                        <h1>【{{$data->shopname}}】{{$data->goodstitle}}</h1>
                        <div>
                            <a href="#" class="error"><i>!</i> 商品纠错</a>
                            @if($data->shoptype==2)
                                <img src="/assets/images/icon-tmall.png" alt="tmall">  @endif
                            @if($data->activitytype==2)<img src="/assets/images/icon-qiang.png" alt="tmall">@endif
                      </div>
                    </div>
                    <p>艺术硕士家里司法解释法律手段解放了多少积分啊地方就是砥砺奋进收到了地板砖顶起顶起杏花春雨艺术硕士草厂村</p>
                </div>
                <div class="prices">
                    <div>券后价<b>￥{{$data->voucherprice}}</b></div>
                    <div>原价￥{{$data->origprice}}</div>
                    <div>优惠券面额￥{{$data->couponmoney}}</div>
                    <div>@if($data->commissiontype==1) 通用
                        @elseif($data->commissiontype==2)定向
                        @elseif($data->commissiontype==3)鹊桥
                        @elseif($data->commissiontype==4)营销@endif计划{{$data->commissionrate}}%
                    </div>
                </div>
            </div>
            <div class="chats">
                <div class="wx">
                    <h3>微信文案</h3>
                    <div class="text">
                        <p class="momentText">
                            艺术硕士草厂村厅城需要地枯需要需要地板砖枯地板砖需要地板砖<br>
                            艺术硕士草厂村厅城需要地枯需要需要地板砖枯地板砖需要地板砖
                        </p>
                        <p>
                            <img src="http://temp.im/60x60" alt="11">
                            <img src="http://temp.im/60x60" alt="11">
                            <img src="http://temp.im/60x60" alt="11">
                            <img src="http://temp.im/60x60" alt="11">
                        </p>

                        <div class="moment"></div>

                        <p class="groupText">
                            艺术硕士草厂村厅城需要地枯需要需要地板砖枯地板砖需要地板砖<br>
                            艺术硕士草厂村厅城需要地枯需要需要地板砖枯地板砖需要地板砖
                        </p>
                    </div>
                    <div class="btn">
                        <span class="copyBtn" data-ele=".momentText">复制文案</span>
                        <span class="copyBtn" data-ele=".groupText">复制口令</span>
                    </div>
                </div>
                <div class="qq">
                    <h3>QQ群文案</h3>
                    <div class="text">
                        <p class="qqText">
                            <img src="http://temp.im/120x200" alt="11"><br>
                            <span class="qqCopy">
							买一送一买一送一买一送一买<br>
							一送一买一送一买一送一
							艺术硕士草厂村厅城需要地枯需要需要地板砖枯地板砖需要地板砖<br>
							艺术硕士草厂村厅城需要地枯需要需<br>
							草厂村厅城
						</span>
                        </p>
                    </div>
                    <div class="btn copyBtn" data-ele=".qqCopy">
                        复制文案
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection
